<?php
/**
 * Created by PhpStorm.
 * User: edmmss
 * Date: 2018/11/24
 * Time: 10:23
 */

namespace app\modules\dependencyInjection;


class DatabaseConfiguration
{
    public $host;

    public $port;

    public $username;

    public $password;

    /**
     * DatabaseConfiguration constructor.
     * @param string $host
     * @param int $port
     * @param string $username
     * @param string $password
     */
    public function __construct(string $host, int $port, string $username, string $password)
    {
        $this->host = $host;
        $this->port = $port;
        $this->username = $username;
        $this->password = $password;
    }

    /**
     * @return mixed
     */
    public function getHost()
    {
        return $this->host;
    }

    /**
     * @return mixed
     */
    public function getPort()
    {
        return $this->port;
    }

    /**
     * @return mixed
     */
    public function getUsername()
    {
        return $this->username;
    }

    /**
     * @return mixed
     */
    public function getPassword()
    {
        return $this->password;
    }
}